using Abp.AspNetCore.Mvc.Controllers;
using Abp.IdentityFramework;
using Microsoft.AspNetCore.Identity;

namespace ABCNet.Controllers
{
    public abstract class ABCNetControllerBase: AbpController
    {
        public new Extensions.IABCNetSession AbpSession { get; set; }

        protected ABCNetControllerBase()
        {
            LocalizationSourceName = ABCNetConsts.LocalizationSourceName;
        }

        protected void CheckErrors(IdentityResult identityResult)
        {
            identityResult.CheckErrors(LocalizationManager);
            
        }
    }
}
